package com.dsh.activity;


import org.activiti.engine.ProcessEngine;
import org.activiti.engine.ProcessEngines;

public class OnboardingRequest {
    public static void main(String[] args) {
        ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
        System.out.println(processEngine);

//
//        ProcessEngineConfiguration cfg = new StandaloneProcessEngineConfiguration()
//                .setJdbcUrl("jdbc:mysql://117.72.165.92:3306/activity?useSSL=false")
//                .setJdbcUsername("root")
//                .setJdbcPassword("hdhs@jd@+++")
//                .setJdbcDriver("com.mysql.jdbc.Driver")
//                .setDatabaseSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE);
//        ProcessEngine processEngine = cfg.buildProcessEngine();
//        String pName = processEngine.getName();
//        String ver = ProcessEngine.VERSION;
//        System.out.println("ProcessEngine [" + pName + "] Version: [" + ver + "]");

    }
}
